package com.wuster.service;

import com.github.pagehelper.PageInfo;
import com.wuster.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
* @author Admin
* @description 针对表【order】的数据库操作Service
* @createDate 2024-07-04 21:14:46
*/
public interface OrderService extends IService<Order> {

    //首页订单信息统计
    public Map<String,Integer> orderInfo();

    //查看订单详情
    public OrderDetailsVO getOrderDetails(int orderId);

    //获取订单列表分页查询(包含按条件查找订单)
    public PageInfo<OrderListVO> getOrderList(Map<String,Object>map );

}
